﻿CREATE PROCEDURE dbo.SP_Emails_UPDATE
												@Code Char 							(5)  =  NULL 
														, @Description NVarChar (Max)							  =  NULL 
														, @EmailId Int 							  =  NULL 
														, @Subject NVarChar 							(256)  =  NULL 
														, @Template NVarChar (Max)							  =  NULL 
														, @TemplateResourcesPaths NVarChar 							(256)  =  NULL 
												AS
					UPDATE Emails SET
													Code=@Code 
																,Description=@Description
																,Subject=@Subject
																,Template=@Template
																,TemplateResourcesPaths=@TemplateResourcesPaths
													Where 	
												EmailId=@EmailId
							